package com.hu.zhcc.shiro.controller.xsf;

import com.hu.zhcc.shiro.entity.xsf.pojo.TMealsType;
import com.hu.zhcc.shiro.service.xsf.TMealsTypeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

@RestController
@RequestMapping("/tMealsType")
public class TMealsTypeController {
    @Autowired
    private TMealsTypeService tMealsTypeService;
    @GetMapping("")
    public List<TMealsType> queryAllTMealsType(){
        return tMealsTypeService.queryAllTMealsType();
    }

}
